<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/insert}" th:method="post">
    <table>
        <tr>
            <td>用户名：</td>
            <td><input name="username"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input name="password" type="password"></td>
        </tr>
        <tr>
            <td>地址：</td>
            <td><input name="p_addr"></td>
        </tr>
        <tr>
            <td>性别：</td>
            <td>
                <select name="gender">
                    <option value="1">男</option>
                    <option value="2">女</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>生日：</td>
            <td><input name="birth"></td>
        </tr>
    </table>
    <input name="birth" type="submit" value="提交">
</form>

</body>
</html>